package cn.idu.rmi;

import java.rmi.RemoteException;

public class pServices implements RemoteService {
    @Override
    public Object run() throws RemoteException {
        System.out.println("invoke pServices run!");
        return "success";
    }

    @Override
    public Object run(Object obj) throws RemoteException {
        System.out.println("invoke pServices run! params: " + obj.toString());
        return "success";
    }
}
